package com.navi.loaddata.core.gpEntity;

import com.navi.loaddata.core.gpEntity.array.WppAdefectGlassF;
import com.navi.loaddata.core.gpEntity.cf.WppFdefectGlassF;
import com.navi.loaddata.core.gpEntity.oc.WppCdefectGlassF;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * Created by Jay on 2018/3/27.
 */

@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface GpGlassFMapper {

    GpGlassFMapper INSTANCE = Mappers.getMapper(GpGlassFMapper.class);

    GpGlassF arrayToEtlGlass(WppAdefectGlassF array);
    List<GpGlassF> arrayToEtlGlass(List<WppAdefectGlassF> list);


    GpGlassF cfToEtlGlass(WppFdefectGlassF cf);
    List<GpGlassF> cfToEtlGlass(List<WppFdefectGlassF> list);

    GpGlassF cellToEtlGlass(WppCdefectGlassF cell);
    List<GpGlassF> cellToEtlGlass(List<WppCdefectGlassF> list);


}
